Integrand size = 48, antiderivative size = 158 \[ \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x} (f+g x)^{3/2}} \, dx=-\frac {2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{g \sqrt {d+e x} \sqrt {f+g x}}+\frac {2 \sqrt {c} \sqrt {d} \sqrt {a e+c d x} \sqrt {d+e x} \text {arctanh}\left (\frac {\sqrt {g} \sqrt {a e+c d x}}{\sqrt {c} \sqrt {d} \sqrt {f+g x}}\right )}{g^{3/2} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \]
[Out]
Time = 0.12 (sec) , antiderivative size = 158, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.104, Rules used = {876, 905, 65, 223, 212} \[ \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x} (f+g x)^{3/2}} \, dx=\frac {2 \sqrt {c} \sqrt {d} \sqrt {d+e x} \sqrt {a e+c d x} \text {arctanh}\left (\frac {\sqrt {g} \sqrt {a e+c d x}}{\sqrt {c} \sqrt {d} \sqrt {f+g x}}\right )}{g^{3/2} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}-\frac {2 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{g \sqrt {d+e x} \sqrt {f+g x}} \]
[In]
[Out]
Rule 65
Rule 212
Rule 223
Rule 876
Rule 905
Rubi steps \begin{align*} \text {integral}& = -\frac {2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{g \sqrt {d+e x} \sqrt {f+g x}}+\frac {(c d) \int \frac {\sqrt {d+e x}}{\sqrt {f+g x} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx}{g} \\ & = -\frac {2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{g \sqrt {d+e x} \sqrt {f+g x}}+\frac {\left (c d \sqrt {a e+c d x} \sqrt {d+e x}\right ) \int \frac {1}{\sqrt {a e+c d x} \sqrt {f+g x}} \, dx}{g \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \\ & = -\frac {2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{g \sqrt {d+e x} \sqrt {f+g x}}+\frac {\left (2 \sqrt {a e+c d x} \sqrt {d+e x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {f-\frac {a e g}{c d}+\frac {g x^2}{c d}}} \, dx,x,\sqrt {a e+c d x}\right )}{g \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \\ & = -\frac {2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{g \sqrt {d+e x} \sqrt {f+g x}}+\frac {\left (2 \sqrt {a e+c d x} \sqrt {d+e x}\right ) \text {Subst}\left (\int \frac {1}{1-\frac {g x^2}{c d}} \, dx,x,\frac {\sqrt {a e+c d x}}{\sqrt {f+g x}}\right )}{g \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \\ & = -\frac {2 \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{g \sqrt {d+e x} \sqrt {f+g x}}+\frac {2 \sqrt {c} \sqrt {d} \sqrt {a e+c d x} \sqrt {d+e x} \tanh ^{-1}\left (\frac {\sqrt {g} \sqrt {a e+c d x}}{\sqrt {c} \sqrt {d} \sqrt {f+g x}}\right )}{g^{3/2} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \\ \end{align*}
Time = 0.19 (sec) , antiderivative size = 133, normalized size of antiderivative = 0.84 \[ \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x} (f+g x)^{3/2}} \, dx=\frac {2 \sqrt {a e+c d x} \sqrt {d+e x} \left (-\sqrt {g} \sqrt {a e+c d x}+\sqrt {c} \sqrt {d} \sqrt {f+g x} \text {arctanh}\left (\frac {\sqrt {c} \sqrt {d} \sqrt {f+g x}}{\sqrt {g} \sqrt {a e+c d x}}\right )\right )}{g^{3/2} \sqrt {(a e+c d x) (d+e x)} \sqrt {f+g x}} \]
[In]
[Out]
Time = 0.57 (sec) , antiderivative size = 187, normalized size of antiderivative = 1.18
method | result | size |
default | \(\frac {\sqrt {\left (c d x +a e \right ) \left (e x +d \right )}\, \left (\ln \left (\frac {2 c d g x +a e g +c d f +2 \sqrt {\left (g x +f \right ) \left (c d x +a e \right )}\, \sqrt {c d g}}{2 \sqrt {c d g}}\right ) c d g x +\ln \left (\frac {2 c d g x +a e g +c d f +2 \sqrt {\left (g x +f \right ) \left (c d x +a e \right )}\, \sqrt {c d g}}{2 \sqrt {c d g}}\right ) c d f -2 \sqrt {\left (g x +f \right ) \left (c d x +a e \right )}\, \sqrt {c d g}\right )}{\sqrt {c d g}\, \sqrt {\left (g x +f \right ) \left (c d x +a e \right )}\, g \sqrt {e x +d}\, \sqrt {g x +f}}\) | \(187\) |
[In]
[Out]
none
Time = 0.72 (sec) , antiderivative size = 521, normalized size of antiderivative = 3.30 \[ \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x} (f+g x)^{3/2}} \, dx=\left [\frac {{\left (e g x^{2} + d f + {\left (e f + d g\right )} x\right )} \sqrt {\frac {c d}{g}} \log \left (-\frac {8 \, c^{2} d^{2} e g^{2} x^{3} + c^{2} d^{3} f^{2} + 6 \, a c d^{2} e f g + a^{2} d e^{2} g^{2} + 4 \, {\left (2 \, c d g^{2} x + c d f g + a e g^{2}\right )} \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} \sqrt {e x + d} \sqrt {g x + f} \sqrt {\frac {c d}{g}} + 8 \, {\left (c^{2} d^{2} e f g + {\left (c^{2} d^{3} + a c d e^{2}\right )} g^{2}\right )} x^{2} + {\left (c^{2} d^{2} e f^{2} + 2 \, {\left (4 \, c^{2} d^{3} + 3 \, a c d e^{2}\right )} f g + {\left (8 \, a c d^{2} e + a^{2} e^{3}\right )} g^{2}\right )} x}{e x + d}\right ) - 4 \, \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} \sqrt {e x + d} \sqrt {g x + f}}{2 \, {\left (e g^{2} x^{2} + d f g + {\left (e f g + d g^{2}\right )} x\right )}}, -\frac {{\left (e g x^{2} + d f + {\left (e f + d g\right )} x\right )} \sqrt {-\frac {c d}{g}} \arctan \left (\frac {2 \, \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} \sqrt {e x + d} \sqrt {g x + f} \sqrt {-\frac {c d}{g}} g}{2 \, c d e g x^{2} + c d^{2} f + a d e g + {\left (c d e f + {\left (2 \, c d^{2} + a e^{2}\right )} g\right )} x}\right ) + 2 \, \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} \sqrt {e x + d} \sqrt {g x + f}}{e g^{2} x^{2} + d f g + {\left (e f g + d g^{2}\right )} x}\right ] \]
[In]
[Out]
\[ \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x} (f+g x)^{3/2}} \, dx=\int \frac {\sqrt {\left (d + e x\right ) \left (a e + c d x\right )}}{\sqrt {d + e x} \left (f + g x\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x} (f+g x)^{3/2}} \, dx=\int { \frac {\sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x}}{\sqrt {e x + d} {\left (g x + f\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 426 vs. \(2 (130) = 260\).
Time = 0.52 (sec) , antiderivative size = 426, normalized size of antiderivative = 2.70 \[ \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x} (f+g x)^{3/2}} \, dx=-\frac {2 \, {\left (\frac {e^{2} {\left | c \right |} {\left | d \right |} \log \left ({\left | -\sqrt {{\left (e x + d\right )} c d e - c d^{2} e + a e^{3}} \sqrt {c d g} + \sqrt {c^{2} d^{2} e^{2} f - a c d e^{3} g + {\left ({\left (e x + d\right )} c d e - c d^{2} e + a e^{3}\right )} c d g} \right |}\right )}{\sqrt {c d g} g {\left | e \right |}} + \frac {\sqrt {{\left (e x + d\right )} c d e - c d^{2} e + a e^{3}} e^{2} {\left | c \right |} {\left | d \right |}}{\sqrt {c^{2} d^{2} e^{2} f - a c d e^{3} g + {\left ({\left (e x + d\right )} c d e - c d^{2} e + a e^{3}\right )} c d g} g {\left | e \right |}} - \frac {c^{2} d^{2} e^{3} f {\left | c \right |} {\left | d \right |} \log \left ({\left | -\sqrt {-c d^{2} e + a e^{3}} \sqrt {c d g} + \sqrt {c^{2} d^{2} e^{2} f - c^{2} d^{3} e g} \right |}\right ) - c^{2} d^{3} e^{2} g {\left | c \right |} {\left | d \right |} \log \left ({\left | -\sqrt {-c d^{2} e + a e^{3}} \sqrt {c d g} + \sqrt {c^{2} d^{2} e^{2} f - c^{2} d^{3} e g} \right |}\right ) + \sqrt {c^{2} d^{2} e^{2} f - c^{2} d^{3} e g} \sqrt {-c d^{2} e + a e^{3}} \sqrt {c d g} e {\left | c \right |} {\left | d \right |}}{\sqrt {c d g} c^{2} d^{2} e f g {\left | e \right |} - \sqrt {c d g} c^{2} d^{3} g^{2} {\left | e \right |}}\right )} {\left | e \right |}}{e^{2}} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x} (f+g x)^{3/2}} \, dx=\int \frac {\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{{\left (f+g\,x\right )}^{3/2}\,\sqrt {d+e\,x}} \,d x \]
[In]
[Out]